package com.ddwl.shop.dao.model;

import com.ddwl.common.dao.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Table;

/**
 * 店铺评价
 *
 * @author
 */
@ApiModel(value = "店铺评价")
@Getter
@Setter
@Table(name = "shop_rate")
public class ShopRate extends BaseModel {

    /**
     * 店铺id
     */
    @ApiModelProperty(value = "店铺id")
    private String shopId;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String userId;

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private String orderId;

    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    /**
     * 服务态度评分
     */
    @ApiModelProperty(value = "服务态度评分")
    private Integer attitudeScore;

    /**
     * 物流评分
     */
    @ApiModelProperty(value = "物流评分")
    private Integer logisticsScore;

}